package pers.sports.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import pers.sports.entity.Notice;
import pers.sports.vo.NoticeInfo;

import java.util.List;

@Repository
public interface NoticeDao {

    List<NoticeInfo> findAllNoticeInfo(Integer begin, Integer limit);

    Notice findNoticeById(String noticeId);

    Integer insertNotice(Notice notice);

    Integer countNumber();

    void deleteNoticeById(@Param("noticeId") String s);
}
